- as a side effect noticed that some changes were done on debian/control insted of debian/control.in, fixed those
[ Stefano Zacchiroli ]
* New upstream (stable) release
- * ship ocaml-compiler-libs objects as STDLIB/ocaml-compiler-libs/{parsing/,
- typing/, utils/} rather than as a flat dir tree
* debian/patches/*
- removed: ocaml-interp_manpage, build_wo_debug_info (integrated upstream)
- updated: install_ocamlbuild
-
- -- Stefano Zacchiroli <zack@debian.org> Wed, 13 Jun 2007 16:15:14 +0200
+ * ship ocaml-compiler-libs objects as STDLIB/ocaml-compiler-libs/{parsing/,
+ typing/, utils/} rather than as a flat dir tree
+ * re-enabled ocaml-source package (which ships
+ /usr/src/ocaml-3.10.0.tar.bz2), now with a better way to generate it:
+ everything in the build dir except debian/ will be copied in the resulting
+ tarball
+ * debian/ocaml-source.exclude
+ - new file: list of tar exclude patterns, matching file won't be shipped
+ in the ocaml source tarball
+
+ -- Stefano Zacchiroli <zack@debian.org> Wed, 13 Jun 2007 17:15:06 +0200
ocaml (3.10.0~beta-1) experimental; urgency=low
For big source codes, these packages can be two to three times faster, but
for most normal sized sources, the difference won't be noticeable.
+Package: ocaml-source
+Architecture: all
+Provides: ocaml-source-${F:OCamlABI}
+Description: Sources for Objective Caml
+ Objective Caml is an implementation of the ML language, based on
+ the Caml Light dialect extended with a complete class-based object system
+ and a powerful module system in the style of Standard ML.
+ .
+ This package contains the sources needed to build some packages which build
+ depend on the ocaml source. Notice that if you want to rebuild ocaml, these
+ will not work, consider using the source package instead.
+
Package: ocaml-interp
Architecture: any
Provides: ocaml-interp-${F:OCamlABI}
This package contains only the runtime system needed to run bytecode
executables. The `ocaml' package contains the full development suite of
Objective Caml. You may wish to install the 'ocaml-base-nox' package if
- you do not require any graphical capilities for your runtime.
+ you do not require any graphical capabilities for your runtime.
Package: ocaml-native-compilers
Architecture: #OcamlNativeArchs#
--- /dev/null
+*/debian
+*/*-stamp
--- /dev/null
+debian/ocaml-#OcamlABI#.tar.bz2 /usr/src/
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-#
-# Modified to make a template file for a multi-binary package with separated
-# build-arch and build-indep targets by Bill Allombert 2001
-
-# We want to use dpatch.
include /usr/share/dpatch/dpatch.make
+
PACKAGE = ocaml
OCAMLMAJOR = 3.10
OCAMLMINOR = 0
INSTDIR = $(CURDIR)/debian/ocaml-nox/usr
NATIVE_ARCHS = $(shell cat debian/native-archs)
+DISTDIR = $(PACKAGE)-$(OCAMLMAJOR).$(OCAMLMINOR)
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
$(MAKE) -C debian/policy
touch build-arch-stamp
-build-indep: build-indep-stamp
-build-indep-stamp: patch-stamp config-stamp
- # Add here commands to compile the indep part of the package.
- #$(MAKE) doc
+build-indep: build-indep-stamp config-stamp
+build-indep-stamp: patch-stamp
+ # create ocaml source tarball
+ ln -fs . $(DISTDIR) # beware of the symlink recursion!
+ tar --anchored -chjf debian/$(DISTDIR).tar.bz2 \
+ --exclude=$(DISTDIR)/$(DISTDIR) \
+ --exclude-from=debian/ocaml-source.exclude \
+ $(DISTDIR)/
touch $@
clean: abi-sed unpatch
dh_clean debian/README.labltk camlp4/config/Makefile.cnf camlp4/config/Makefile config/m.h config/s.h config/Makefile emacs/ocamltags driver/ocamlcomp.sh
debian/rules abi-sed-clean
+ rm -f debian/$(DISTDIR).tar.bz2
install: install-indep install-arch
install-indep: build-indep